Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-ProcedureRequest2to3.html |
Url | http://hl7.org/fhir/StructureMap/ProcedureRequest2to3 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | ProcedureRequest2to3 |
Title | ProcedureRequest Transforms: R2 to R3 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | ProcedureRequestTransformsR2toR3 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/ProcedureRequest2to3' /// name = 'ProcedureRequest2to3' /// title = 'ProcedureRequest Transforms: R2 to R3' /// status = 'active' uses "http://hl7.org/fhir/1.0/ProcedureRequest" alias ProcedureRequestR2 as source uses "http://hl7.org/fhir/3.0/ProcedureRequest" alias ProcedureRequest as target imports "http://hl7.org/fhir/StructureMap/*2to3" group ProcedureRequest(source src : ProcedureRequestR2, target tgt : ProcedureRequest) extends DomainResource <<type+>> { src.identifier -> tgt.identifier "ProcedureRequest-identifier"; src.subject -> tgt.subject "ProcedureRequest-subject"; src.code -> tgt.code "ProcedureRequest-code"; src.bodySite -> tgt.bodySite "ProcedureRequest-bodySite"; src.reason as v where v.is(CodeableConcept) -> tgt.reasonCode = v "ProcedureRequest-reason1"; src.reason as v where v.is(Reference) -> tgt.reasonReference = v "ProcedureRequest-reason2"; src.scheduled -> tgt.occurrence "ProcedureRequest-scheduled"; src.encounter -> tgt.context "ProcedureRequest-encounter"; src.performer -> tgt.performer "ProcedureRequest-performer"; src.status -> tgt.status "ProcedureRequest-status"; src.notes -> tgt.note "ProcedureRequest-notes"; src.asNeeded -> tgt.asNeeded "ProcedureRequest-asNeeded"; src.orderedOn -> tgt.authoredOn "ProcedureRequest-orderedOn"; src.orderer as v -> tgt.requester as d, d.agent = v "ProcedureRequest-orderer"; src.priority -> tgt.priority "ProcedureRequest-priority"; }
{
"resourceType" : "StructureMap",
"id" : "ProcedureRequest2to3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/ProcedureRequest2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'ProcedureRequest2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'ProcedureRequest Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/ProcedureRequest<span style=\"color: navy\">" </span><b>alias </b>ProcedureRequestR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/ProcedureRequest<span style=\"color: navy\">" </span><b>alias </b>ProcedureRequest <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>ProcedureRequest<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ProcedureRequestR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ProcedureRequest<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"ProcedureRequest-identifier"</i><span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"><b> -> </b></span>tgt.subject <i>"ProcedureRequest-subject"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"ProcedureRequest-code"</i><span style=\"color: navy\">;</span>\r\n src.bodySite<span style=\"color: navy\"><b> -> </b></span>tgt.bodySite <i>"ProcedureRequest-bodySite"</i><span style=\"color: navy\">;</span>\r\n src.reason<b> as </b><span style=\"color: maroon\">v</span><b> where </b>v.is(CodeableConcept)<span style=\"color: navy\"><b> -> </b></span>tgt.reasonCode = <span style=\"color: maroon\">v</span> <i>"ProcedureRequest-reason1"</i><span style=\"color: navy\">;</span>\r\n src.reason<b> as </b><span style=\"color: maroon\">v</span><b> where </b>v.is(Reference)<span style=\"color: navy\"><b> -> </b></span>tgt.reasonReference = <span style=\"color: maroon\">v</span> <i>"ProcedureRequest-reason2"</i><span style=\"color: navy\">;</span>\r\n src.scheduled<span style=\"color: navy\"><b> -> </b></span>tgt.occurrence <i>"ProcedureRequest-scheduled"</i><span style=\"color: navy\">;</span>\r\n src.encounter<span style=\"color: navy\"><b> -> </b></span>tgt.context <i>"ProcedureRequest-encounter"</i><span style=\"color: navy\">;</span>\r\n src.performer<span style=\"color: navy\"><b> -> </b></span>tgt.performer <i>"ProcedureRequest-performer"</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"ProcedureRequest-status"</i><span style=\"color: navy\">;</span>\r\n src.notes<span style=\"color: navy\"><b> -> </b></span>tgt.note <i>"ProcedureRequest-notes"</i><span style=\"color: navy\">;</span>\r\n src.asNeeded<span style=\"color: navy\"><b> -> </b></span>tgt.asNeeded <i>"ProcedureRequest-asNeeded"</i><span style=\"color: navy\">;</span>\r\n src.orderedOn<span style=\"color: navy\"><b> -> </b></span>tgt.authoredOn <i>"ProcedureRequest-orderedOn"</i><span style=\"color: navy\">;</span>\r\n src.orderer<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.requester<b> as </b><span style=\"color: maroon\">d</span><span style=\"color: navy\">, </span> d.agent = <span style=\"color: maroon\">v</span> <i>"ProcedureRequest-orderer"</i><span style=\"color: navy\">;</span>\r\n src.priority<span style=\"color: navy\"><b> -> </b></span>tgt.priority <i>"ProcedureRequest-priority"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/ProcedureRequest2to3",
"version" : "0.1.0",
"name" : "ProcedureRequest2to3",
"title" : "ProcedureRequest Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "ProcedureRequestTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/ProcedureRequest",
"mode" : "source",
"alias" : "ProcedureRequestR2"
},
{
"url" : "http://hl7.org/fhir/3.0/ProcedureRequest",
"mode" : "target",
"alias" : "ProcedureRequest"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*2to3"
],
"group" : [
{
"name" : "ProcedureRequest",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "ProcedureRequestR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "ProcedureRequest",
"mode" : "target"
}
],
"rule" : [
{
"name" : "ProcedureRequest-identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ProcedureRequest-subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ProcedureRequest-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ProcedureRequest-bodySite",
"source" : [
{
"context" : "src",
"element" : "bodySite",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "bodySite",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ProcedureRequest-reason1",
"source" : [
{
"context" : "src",
"element" : "reason",
"variable" : "v",
"condition" : "v.is(CodeableConcept)"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reasonCode",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "ProcedureRequest-reason2",
"source" : [
{
"context" : "src",
"element" : "reason",
"variable" : "v",
"condition" : "v.is(Reference)"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reasonReference",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "ProcedureRequest-scheduled",
"source" : [
{
"context" : "src",
"element" : "scheduled",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "occurrence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ProcedureRequest-encounter",
"source" : [
{
"context" : "src",
"element" : "encounter",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "context",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ProcedureRequest-performer",
"source" : [
{
"context" : "src",
"element" : "performer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "performer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ProcedureRequest-status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ProcedureRequest-notes",
"source" : [
{
"context" : "src",
"element" : "notes",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "note",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ProcedureRequest-asNeeded",
"source" : [
{
"context" : "src",
"element" : "asNeeded",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "asNeeded",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ProcedureRequest-orderedOn",
"source" : [
{
"context" : "src",
"element" : "orderedOn",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "authoredOn",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ProcedureRequest-orderer",
"source" : [
{
"context" : "src",
"element" : "orderer",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "requester",
"variable" : "d"
},
{
"context" : "d",
"element" : "agent",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "ProcedureRequest-priority",
"source" : [
{
"context" : "src",
"element" : "priority",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "priority",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.